package com.nsgf.library.utils;


/**
 * 描述: 国密sm2算法秘钥对 - 对象 <br>
 * 时间: 2022-07-14 16:01  <br>
 * 作者：IT学习道场
 */

public class SM2KeyPairs {
    /**
     *公钥
     */
    private String publicKey;

    /**
     * 私钥
     */
    private String privateKey;

    public SM2KeyPairs() {
    }

    public SM2KeyPairs(String publicKey, String privateKey) {
        this.publicKey = publicKey;
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    @Override
    public String toString() {
        return "SM2KeyPairs{" +
                "publicKey='" + publicKey + '\'' +
                ", privateKey='" + privateKey + '\'' +
                '}';
    }
}
